/* $Id: RelationBuilder.cs,v 1.3 2004/10/26 13:23:45 larsbm Exp $
 * Copyright (c) 2004 Engine EAR GmbH & Co. KG
 * Developed by: Lars Behrmann, lb@engine.de
 */

using System;
using System.Data;

namespace SQLToNeo.Model
{
	public class RelationBuilder
	{
		public static DataRelation ColumnRelation()
		{
			return new DataRelation("cols","table","column",new string[1]{"id"},new string[1]{"tableid"},true);
		}

		public static DataRelation ForeignKeyRelation()
		{
			return new DataRelation("foreignkeys","table","foreignkey",new string[1]{"id"},new string[1]{"foreigntable"},true);
		}

		public static DataRelation IForeignKeyRelation()
		{
			return new DataRelation("iforeignkeys","table","iforeignkey",new string[1]{"id"},new string[1]{"foreigntable"},true);
		}
	}
}

/*
 * $Log: RelationBuilder.cs,v $
 * Revision 1.3  2004/10/26 13:23:45  larsbm
 * - Fixed bugs in tablebuilder
 * - Working on the forms
 * - Finishing MergeSpecial
 * - Make app run with mergespecial
 * - start converter for sqldatatypes
 *
 * 
 */